import { MenuType } from '@/enums'

export namespace MenuApi {
  export interface Menu {
    _id: string
    parent_id: string
    parent_title: string
    path: string
    name: string
    component: string
    icon: string
    title: string
    permission_code: string
    redirect: string
    order_num: number
    type: MenuType
    is_link: string
    is_hide: number
    is_full: number
    is_affix: number
    is_keep_alive: number
    children?: Menu[]
  }
}
